#!D:\Python27
# -*- coding: utf-8 -*-
from flask import Flask
from flask_sqlalchemy import SQLAlchemy

#创建项目对象
app = Flask(__name__)
#加载配置文件内容
app.config.from_object('application.config')     #模块下的config文件名，不用加py后缀
db = SQLAlchemy(app)
#只有在app对象之后声明，用于导入view模块
from application.model import User

from application.controller import User
